package com.atqinke.designpattern.structuraltype.decorator;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.DesignPattern.structuraltype.decorator
 * @Author: NieHk
 * @CreateTime: 2022-08-26  17:11
 * @Description: 快餐类
 * @Version: 1.0
 */
public abstract class FastFood {
    private float price;//价格
    private String desc; //描述

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public FastFood(float price, String desc) {
        this.price = price;
        this.desc = desc;
    }

    public FastFood() {
    }

//    public abstract float cost();
}
